package com.vo;

import java.util.List;
import java.util.Vector;

import com.dao.TrainingPlanDAOImpl;

public class TrainingPlan {
	private String id;
	private String name;
	private String planYear;
	private String startDate;
	private String endDate;
	private String majorPlane;
	public TrainingPlan() {
		super();
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPlanYear() {
		return planYear;
	}
	public void setPlanYear(String planYear) {
		this.planYear = planYear;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public String getMajorPlane() {
		return majorPlane;
	}
	public void setMajorPlane(String majorPlane) {
		this.majorPlane = majorPlane;
	}
	@Override
	public String toString() {
		return "TrainingPlan [id=" + id + ", name=" + name + ", planYear="
				+ planYear + ", startDate=" + startDate + ", endDate="
				+ endDate + ", majorPlane=" + majorPlane + "]";
	}
	public Vector<Vector<Object>> getAlltraining() {
		List<TrainingPlan> alltraining = null;
		
		alltraining = new TrainingPlanDAOImpl().getAllUser();
		
		return list2vector(alltraining);
	}
	private Vector<Vector<Object>> list2vector(List<TrainingPlan> alltraining) {

		return null;
	}
	
}
